﻿




using System.Web.Mvc;
using Hotpot.Modules.Plugins.Models;

namespace Hotpot.Modules.Plugins.ModelBinders
{
    public class PluginInstallInputModelBinder : IModelBinder
    {
        public object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)
        {
            return new PluginInstallInput(controllerContext.HttpContext.Request.Form["virtualPath"]);
        }
    }
}
